<template>
  <div>{{ check }}</div>
</template>
<script>
import { mapState } from 'vuex'
export default {
  data() {
    return {}
  },
  computed: {
    ...mapState(['check'])
  },
  watch: {
    check(val) {
      console.log(val)
    }
  }
}
</script>
